// pages/weekly/weekly.js
Page({
  data: {
      TabCur: 0,
      scrollLeft:0,
      data_all:[],
    
  },

  onLoad: function (options) {
      var that = this
   

        wx.request({
          url: 'https://xuzhichao.cn/data', //仅为示例，并非真实的接口地址
          data: {
            data_all: [],
          },
          header: {
            'content-type': 'application/json' // 默认值
          },
          success:res=> {
            console.log(res.data)
            that.setData({
              data_all: res.data
            })
          }
      })
    },

    


  
      })